//
//  UIScrollView+YSExtension.h
//  YSWeChat
//
//  Created by MOLBASE on 2018/4/15.
//  Copyright © 2018年 YangShen. All rights reserved.
//
/// 下拉刷新，上拉加载

#import <UIKit/UIKit.h>
#import <MJRefresh/MJRefresh.h>

@interface UIScrollView (YSExtension)

/// 添加下拉刷新控件
- (MJRefreshNormalHeader *)ys_addHeaderRefresh:(void(^)(MJRefreshNormalHeader *header))refreshingBlock;

/// 添加上拉加载控件
- (MJRefreshAutoNormalFooter *)ys_addFooterRefresh:(void(^)(MJRefreshAutoNormalFooter *footer))refreshingBlock;

@end
